<?
	$sql = $mysqlclass->mysql_my_query("DELETE FROM `".$setupdata['table_prefix']."local_vars` WHERE `name`='mysql_caching_time'", __LINE__, __FILE__);
	$sql = $mysqlclass->mysql_my_query("SELECT * FROM `".$setupdata['table_prefix']."local_vars` WHERE `name`='last_db_update'", __LINE__, __FILE__);
	if (mysql_num_rows($sql) == 0) $sql = $mysqlclass->mysql_my_query("INSERT INTO `".$setupdata['table_prefix']."local_vars` ( `id` , `name` , `value` ) VALUES ('', 'last_db_update', '".time()."')", __LINE__, __FILE__);
	else $sql = $mysqlclass->mysql_my_query("UPDATE `".$setupdata['table_prefix']."local_vars` SET `value`='".time()."' WHERE `name` = 'last_db_update'", __LINE__, __FILE__);
?>